package com.ruoyi.quality.domain.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.Date;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class InspectionTaskValueVo {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**
     *
     */
    private String code;

    /**
     *
     */
    private String createBy;

    /**
     *
     */
    private Date createTime;

    /**
     *
     */
    private String updateBy;

    /**
     *
     */
    private Date updateTime;

    /**
     *
     */
    private Boolean delFlag;

    /**
     *
     */
    private String name;

    /**
     *
     */

    /**
     *
     */
    private String remark;

    /**
     *
     */
    private Boolean status;

    /**
     *
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long inspectionTemplateId;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long inspectionTaskId;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long inspectionTemplateItemId;

    /**
     *
     */
    private String materailCode;

    /**
     * 质检项名称
     */
    private String inspectionItemName;

    /**
     * 对应顺序号
     */
    private Integer inspectionTemplateItemSequence;

    /**
     * 这对
     */
    private String value;


    /**
     * 对应质检ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long inspectionTaskTemplateSamplingItemId;


    private String value2;

    /**
     * 类型 1.公差1或者公差2
     */
    private String type;

    /**
     * 下公差
     */
    private Double lowerTolerance;

    /**
     * 上公差校验
     */
    private Double UpperTolerance;

}
